package com.xxxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.pojo.Department;
import com.xxxx.server.pojo.RespBean;

import java.util.List;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhoubin
 * @since 2021-04-27
 */
public interface IDepartmentService extends IService<Department> {
    /*
     * 获取所有部门
     * */
    List<Department> GetAllDepartments();

    /*
     * 添加部门
     * */
    RespBean AddDep(Department department);

    RespBean DeleteDep(Integer id);
}
